<!--#include file="../../inc/AspCms_SettingClass.asp" -->
<%
CheckAdmin("AspCms_CNZZ.asp")
%>
<!DOCTYPE html>
<html lang="zh-CN" style="min-height: 100%;">
<head>
<title>CNZZ统计</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

<link href="https://cdn.bootcss.com/uikit/3.0.0-beta.22/css/uikit.min.css" rel="stylesheet">
<link href="../../css/timoo/timoo.css" rel="stylesheet">

</head>
<body>
<div class="tm-right">
    <div class="main">
        <div class="section html-result">
            <div class="layout">
                <div class="title">CNZZ统计</div>
                <div class="content">
                    <div class="list warning">
                        <%
                            if isnul(CNZZUSER) then
                                dim hostname:hostname=Request.ServerVariables("SERVER_NAME")
                                dim zkey:zkey=md5(hostname&"Gk8MKsRs",32)
                        %>
                        <div>
                            您还没有开通CNZZ接口。<a class="view" href="http://wss.cnzz.com/user/companion/aspcms.php?domain=<%=hostname%>&key=<%=zkey%>" id="sendCnzz" target="_blank">点击申请</a>
                        </div>
                        <div>
                            将获取的值，复制到<a class="view" href='../../_system/AspCms_SiteSetting.asp#cnzz'>网站参数设置</a>里的CNZZ设置栏，进行提交即可。
                        </div>
                        <%
                            else
                            dim cnzzarr:cnzzarr=split(CNZZUSER,"@")
                        %>
                        <iframe name="cnzz1" src="http://wss.cnzz.com/user/companion/aspcms_login.php?site_id=<%=cnzzarr(0)%>&password=<%=cnzzarr(1)%>" frameBorder=0 width="100%" height="600" noresize></iframe>
                        <%end if%>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>